const ocr_kit = require('../ocr/ocr_mlkit');
const ocr_bd = require('../ocr/ocr_bd');
let page = require('./page');
let obj = {
    ocr_kit() {
        let res = ocr_kit.ocr();
        let pageInstance = new page();
        pageInstance.analysisText(res);
        
        return pageInstance;
    },
    ocr_bd(){
        let res = ocr_bd.ocr();
        let pageInstance = new page();
        pageInstance.analysisText(res);

        return pageInstance;
    },
    wait(t) {
        sleep(t * 1000);
    }
}
module.exports = obj;
